//
//  LSZSearchCollectionViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2017/12/14.
//  Copyright © 2017年 LC. All rights reserved.
//

#import "LSZSearchCollectionViewCell.h"

@implementation LSZSearchCollectionViewCell
-(id)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.labelTitle = [[UILabel alloc]init];
        self.labelTitle.backgroundColor = RGBColor(241, 241, 241);
        self.labelTitle.textColor = titleColorLSZ;
        [self.labelTitle.layer setCornerRadius:12];
        [self.labelTitle.layer setMasksToBounds:YES];
        [LSZSpecialPackaging setLabel_14_5_Size:self.labelTitle];
        self.labelTitle.textAlignment = NSTextAlignmentCenter;
        [self addSubview:self.labelTitle];
        if (ScreenWidth == 320) {
            //5
            self.labelTitle.frame = CGRectMake(0, 0, 30, 25);
        }else if(ScreenWidth == 375){
            // 6 7
            self.labelTitle.frame = CGRectMake(0, 0, 30, 29);
        }else {
            //plus
            self.labelTitle.frame = CGRectMake(0, 0, 30, 33);
        }
    }
    return self;
}
@end
